<template>
  <div class="about">
    <el-button type="text" @click="openEditor">点击打开 Dialog</el-button>
    <editorDialog ref="editor"></editorDialog>
  </div>
</template>
<script>
import editorDialog from '@/components/editorDialog.vue'
console.log(editorDialog)
export default {
  data(){
    return {

    }
  },
  components:{
    editorDialog
  },
  methods:{
    openEditor(){
      // console.log(this.$refs.editor.editorVisible)
      this.$refs.editor.editorVisible = true
    }
  }
};
</script>
